package com.multi.thread.chapter04.demo02;

public class ThreadBB extends Thread {
	
	private MyService myService;

	public ThreadBB(MyService myService) {
		this.myService = myService;
	}
	
	@Override
	public void run() {
		myService.methodB();
	}

}
